/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfcapi.entity;

import com.easy.common.utils.excel.annotation.ExcelField;
import com.easy.core.persistence.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * 用户类别:Entity
 * @author waylen chi
 * @version 2018-01-12
 */
public class ApiUserType extends BaseEntity<ApiUserType> {
	
	private static final long serialVersionUID = 1L;
	private Integer userType;		// 类型ID
	private String typeName;		// 类型名
	private Integer typePriv;		// 权限
	private String remark;		// 备注
	
	public ApiUserType() {
		super();
	}


	@NotNull(message="类型ID不能为空")
	@ExcelField(title="类型ID", align=2, sort=0)
	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}
	
	@ExcelField(title="类型名", align=2, sort=1)
	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	
	@NotNull(message="权限不能为空")
	@ExcelField(title="权限", align=2, sort=2)
	public Integer getTypePriv() {
		return typePriv;
	}

	public void setTypePriv(Integer typePriv) {
		this.typePriv = typePriv;
	}
	
	@ExcelField(title="备注", align=2, sort=3)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}